package com.aliyun.heiyu.powermaster.server.rbac.service;


import com.aliyun.heiyu.powermaster.proto.OutRequest;

public interface TokenManager{

    public int checkToken(String tokenId);

    public int checkToken(String tokenId, String refresh);

    public boolean remove(String tokenId);

    void removeToken(OutRequest request);

    int getUserStatus(String token);

    int checkUserIp(String userIp, String userName);

    void createUserIp(String ip, String token);
}
